package com.whut.gkd.dao;
import com.whut.gkd.bean.ApplyShop;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IApplyShopDao {
//    ApplyShop getApplyShopById(int applicanId);

    List<ApplyShop> findAll(@Param("start")int start, @Param("size")int size, @Param("applicanName")String applicanName);

    int getTotalCount(@Param("applicanName")String applicanName);

    ApplyShop getApplyShopById(int applicanId);
    void allowshop(ApplyShop applyShop);

    void allowshopByapplicanId(@Param("applicanId")int applicanId);
    void deleteByapplicanId(@Param("applicanId")int applicanId);
}
